# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
def get_count(s,world):
    count=0
    for item in s:
        if world.upper()==item or world.lower()==item:
            count+=1
    return count

if __name__=='__main__':
    str='hellopython,Hellojava,hellogo'
    zimu=input('请输入您要查询的字母：')
    count=get_count(str,zimu)
    print(f'此字母在子串中出现的问题次数为{count}')
